package com.example.whm.model;

import java.io.Serializable;
import java.util.Date;

public class Address implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	String id;
	String contact_name;
	String province;
	String city;
	String area;
	String detail_address;
	String phone;
	String tel;
	String code;
	String user_id;	
	int isdefault=0; //0,1
	String createtime=new Date().toLocaleString();
	
	
	
	
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public int getIsdefault() {
		return isdefault;
	}
	public void setIsdefault(int isdefault) {
		this.isdefault = isdefault;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getContact_name() {
		return contact_name;
	}
	public void setContact_name(String Contact_name) {
		this.contact_name = Contact_name;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getDetail_address() {
		return detail_address;
	}
	public void setDetail_address(String detail_address) {
		this.detail_address = detail_address;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	
	
	
	
	

	public Address(String contact_name, String province, String city,
			String area, String detail_address, String phone, String tel,
			String code, String user_id, int isdefault) {
		super();
		this.contact_name = contact_name;
		this.province = province;
		this.city = city;
		this.area = area;
		this.detail_address = detail_address;
		this.phone = phone;
		this.tel = tel;
		this.code = code;
		this.user_id = user_id;
		this.isdefault = isdefault;
	}
	public Address() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}